package com.github.blanexie.nexusj.domain.post

import java.time.LocalDateTime


/**
 * 回复聚合
 */
data class ReplyAggregate(
    val replyId: ReplyId,
    val postId: PostId,
    val userId: Int,
    val linkId: ReplyId?, //不为空, 回复的回复,
    val description: Description,

    val status: Int = 0,
    val updateTime: LocalDateTime = LocalDateTime.now(),
    val createTime: LocalDateTime = LocalDateTime.now(),
) {
}


data class ReplyId(val id: Int)
